package com.aat.dizena.base.dao;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Repository;

import com.aat.dizena.base.bean.Role;

@Repository
public interface RoleDao {

	int addBean(Role bean);

	int updateBean(Role bean);

	int deleteBean(String id);

	Role queryBean(String id);
	
	Role queryRole(String role);

	List<Role> queryAll(Map<String, Object> map);

	long queryCount(Map<String, Object> map);

}
